<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:71:"E:\wamp\www\project\public/../application/index\view\index\message.html";i:1520247859;s:59:"E:\wamp\www\project\application\index\view\index\index.html";i:1519907392;}*/ ?>
﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>兼职乐-快乐生活，快乐工作，尽在兼职乐</title>
<link type="text/css" rel="stylesheet" href="/static/index/css/common.css" />
<link type="text/css" rel="stylesheet" href="/static/index/css/home.css" />
<script src="/static/index/js/jquery.js"></script>
<script src="/static/index/js/lepin_ajax.js"></script>
<script src="/static/index/js/lepin.js"></script>
<script src="/static/index/js/zepto.min.js"></script>
<script src="/static/index/js/frozen.js"></script>  
</head>
<body>
<!--头部-->
<div class="head">
    <div class="wrap">
            <span class="fr">
                <a href="<?php echo url('index/login/index'); ?>"><?php echo empty(\think\Session::get('tel'))?'登录':'欢迎, '.\think\Session::get('tel'); ?></a>丨
                <a class="mr15" href="<?php echo url('index/login/showreg'); ?>">注册</a>
                <a href="index.php?act=about"   >关于我们</a>
            </span>
        <div class="mr20 city">
            <i id='prov' prov="<?php echo $cityid; ?>"><?php echo $citytitle; ?></i>
            <span>[切换城市]</span>
            <em></em>
            <div class="choice">
                <?php if(is_array($city) || $city instanceof \think\Collection || $city instanceof \think\Paginator): $i = 0; $__LIST__ = $city;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                <a href="<?php echo url('index/index/switchcity',['id'=>$v['id']]); ?>"><?php echo $v['name']; ?></a>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
        </div>
     </div>
</div>



<!--导航-->
    <div class="nav">
        <div class="wrap clearfix">
            <a class="fl" href="<?php echo url('index/index/index'); ?>"><img src="/static/index/picture/logo.jpg"></a>
            <div class="navcont fl" style="width:400px;">
                                <a  href="<?php echo url('index/index/index'); ?>">全部兼职</a>
                <!--<a  href="index.php?act=seller">企业入口</a>-->
                <a href="<?php echo url('index/user/index'); ?>">个人中心</a>
                <a href="<?php echo url('index/company/index'); ?>">企业入口</a>
                            </div>
                        <a class="fabu fl" href="">发布职位信息</a>
                        <div class="search fr">
                <form method="get" name="frm" action="index.php?act=job_list">
                    <input class="txt fl" style="width:170px;" type="text" value="" name="keyword" id="keyword" placeholder="请输入搜索内容">
                    <input class="btn fl" type="button" value="搜索" onclick="document.forms['frm'].submit()">
                </form>

            </div>
        </div>
    </div>






<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.5&ak=3FrsGU2GbhEdUe5Vu1A8COE0oHIUGDCW"></script>
<script type="text/javascript"> 
    $(function(){
           var map = new BMap.Map("container");
            map.centerAndZoom("<?php echo $place; ?>", 12);//这里是初始地图所显示的城市
            map.enableScrollWheelZoom();    //启用滚轮放大缩小，默认禁用

            if($('#p').val()==2){
                $('#apply_job_').css('display','none');
                $('#collect_company').css('display','none');
                $('#collect_job').css('display','none');
            }else{
                $('#collect_company').css('display','block-inline');
                $('#collect_job').css('display','block-inline');
                $('#apply_job_').css('display','block-inline');
            }
    }) 

    function getmap(){
        var url = "/index/index/showapply?pid="+<?php echo $list['position_id']; ?>;  //转向网页的地址;
        var name = '工作地点';                                //网页名称，可为空;
        var iWidth = 660;                                     //弹出窗口的宽度;
        var iHeight = 450;                                    //弹出窗口的高度;
        //获得窗口的垂直位置
        var iTop = (window.screen.availHeight - 30 - iHeight) / 2;
        //获得窗口的水平位置
        var iLeft = (window.screen.availWidth - 10 - iWidth) / 2;
        window.open(url, name, 'height=' + iHeight + ',,innerHeight=' + iHeight + ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop + ',left=' + iLeft + ',status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no');
    }

    function quxiao(){
        shadboxFun('qx',1);
    }
    
</script>  






<div class="wrap clearfix">
	<div class="sub_cont fl">
    	<div class="box mt10 list">
        	<div class="title fontS16 clearfix">
                <span class="fl"><?php echo $list['position_name']; ?></span>
                <i class="guan"></i>
                 <i class="bao"></i> 
                  <a href="javascript:void(0);" id="collect_job" class="<?php echo $iscollect==1?'sc-on':'sc'; ?>" ></a>
                  <!-- 收藏 -->
                  <input type="hidden" name="job_id" id="job_id" value="<?php echo $list['position_id']; ?>"/>
                  <input type="hidden" name="iscollect" id="iscollect" value="<?php echo $iscollect; ?>"/>
                  <!-- <a href="javascript:void(0);" id="collect_job" class="sc" ></a> -->
                  </div>
            <div class="lineH36">
                <em class="fontC02 fr"><?php echo $list['position_payway']; ?></em> 
                <span>类型：<?php echo $type; ?></span>丨
                <span>发布时间：<?php echo date('Y-m-d',$list['position_publish']); ?></span>
            </div>
            <div class="lineH36">
            <span>已报名：<?php echo $list['position_apply']; ?></span>
                        </div>
            <div class="card mt10">
             </div>
        </div>
        <div class="box mt10">
        	<div class="clearfix">
            	<ul class="news lineH28">
                	<li class="fontBold fontS16">招聘信息</li>
                    <li>招聘人数：<?php echo $list['position_num']; ?></li>
                    <li>工作日期：<?php echo date('Y-m-d',$list['position_start']); ?>至<?php echo date('Y-m-d',$list['position_end']); ?></li>
                    <li>结算方式：<?php echo $list['position_payway']; ?></li>
                    <li>联  系 人：仝旭阳</li>
                    <li>联系电话：<?php echo $list['position_tel']; ?></li>
                    <li>工作地点：<?php echo $list['position_place']; ?></li>
                </ul>
                <input type='hidden' value='' id='mappos'>
                 <input type="hidden" value="1" id="mapxy">
                <div class="map mt10">
                    <div id="container" style="height:260px;width:645px;"></div> 
                    <!-- <iframe width="604" height="881" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://j.map.baidu.com/LUDqO"></iframe> -->
                </div>
                            </div>
            <div class="detail mt20">
                <p class="fontBold fontS16">兼职内容</p>
                <p><?php echo $list['position_require']; ?></p>
            </div>
            <div class="center mt30">
                <?php if(\think\Session::get('usercate') == '1'): ?>
                     <a class="more" href="javascript:void(0)"  id="apply_job_"  onclick="getmap()"  >立即报名<i class="fr ml5"></i></a>
                <?php endif; ?>
            </div>
        </div>
    
    </div>
    <div class="side fr">
    	<div class="box mt10">
            <p class="fontBold fontS16"><a href="javascript:void(0);" id="collect_company" class="<?php if($collectcompany==1||$collectcompany==3) echo 'sc-on';else echo 'sc'; ?>" ></a>公司信息</p>
            <input type="hidden" name="company_id" id="company_id" value="<?php echo $company['company_cid']; ?>"/>
            <input type="hidden" name="collectcompany" id="collectcompany" value="<?php echo $collectcompany; ?>"/>
            <ul class="lineH28 mt10">
            <li>公司名称：<?php echo $company['company_name']; ?></li>
            <li>公司地址：<?php echo $company['company_address']; ?></li>
            <li>企业认证：<?php echo $company['company_status']==1?'已验证':'未验证'; ?></li>
            <li>公司简介：<?php echo $company['company_intro']; ?></li>
            </ul>
        </div>
        <div class="box mt10">
        	<!--<p class="fontBold fontS16">该公司其他兼职</p>
            <ul class="other mt10">
                        </ul>-->
            <p class="fontBold fontS16">其他类似兼职</p>
            <ul class="other mt10">
                <?php if(is_array($other) || $other instanceof \think\Collection || $other instanceof \think\Paginator): $i = 0; $__LIST__ = $other;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                <li>
                    <a href="<?php echo url('index/index/message',['id'=>$v['position_id']]); ?>">
                    <span class="fontC02 fr"><?php echo $v['position_payway']; ?></span>
                   <?php echo $v['position_name']; ?>
                    </a>
                </li>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
    </div>
</div>




<div class="foot mt30">
	<div class="wrap center">©2015 河北乐聘人力资源服务有限公司 丨 兼职乐，专属兼职神器 丨 冀ICP备15013734</div>
</div>
<div class="gotop"></div>
<script type="text/javascript" language="javascript" src="/static/index/js/jquery-1.7.2-min.js"></script>
<script type="text/javascript" language="javascript" src="/static/index/js/common.js"></script>
<script type="text/javascript">
	var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1268697534'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1268697534%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));
</script>

</body>
</html>

